Added licence file. Added Readme file content. Added some unit tests. Small changes to the core functionality.