Create main.py

Runs the web application. A query retrieves all the data from the datastore and is sent as a template value to an html code.