Implement front controller.