Refactored classes into separate packages.
Added build-configuration for travis-ci.