front controller pattern implemented

Signed-off-by: celynch <celynch@gmail.com>