Refactored module structure

Use app as dependency container
Added controller test
Added Travis CI testing