Added configurable app routing key, refactored getController