adds all of the stuff necessary for the front end