Adds initial TravisCI config
Updates code and changes types to match ORM