Building up the frontend