More edits to code, add .travis.yml