setting up frontend enviroment