Add emergency controller and template -- very draft