Travis CI support
Changed the library license
Refactoring the library and some documentation