moved all repositories and messagehandler to app.java