pep8, add api frontend for webserver.py. Process incoming requests automatically rather than putting into queue for performance. Error checking and message responses. Will hook up to a website later.