Add .travis.yml
Refactor