a few changes and add to Travis CI