main file for the webapp