Refactor.
Add .travis.yml