Added inheritance to application controller in setup_app