Load controllers and templates based on current route