Added class controller to front end