Refactored router | Removed router from the global space | Added loadLayoutMethod to the base controller