front end class