Initial code for the webapp