Refactored file structure and basic tests
This release finally introduces some basic, yet essential unit tests. Also, to keep code in shape, all the sources were moved to src folder, so there may be some problems, if you require directly. Open issues or create pull requests, if you meet any other.