Made plan_request a service and few other minor changes.