Modular start

this pulls out the startup of the application into a separate file runserver.py