front controller patterns