initial setup of the frontend