Refactored FrontController to be more OO