adds travis yml for build, renames controllers as classes