Switched to front controller with controller classes