further changes to get Imperium working with Play 2