Updated routes and Application controller for consistency and remove warnings.