Import paths

This rewrites all the import paths, and adds some travis-ci configuration.