tweak travis.yml
create some utility methods
minor tweaks