Update code and TravisCI support

Update code to add dependency versions and fix TravisCI.