convert controllers from java to scala
convert repositories from java to scala
fix runtime problems