Split the server into api (backend) and app (frontend)
Create main() for server.py
new default settings: listen on all interfaces, Debug=False