security.middleware changed to middleware.attach. Added message center. seperated routes from controllers in product