add tests to .travis.yml; change src folder structure