This is the starting point for all webapp logic