Refactored Code : Request Handlers code moved away for app launch code