Refactor as maven project deployable to heroku