Handles requests coming in from the server.
process the python code in data. return null or in the future the data to send back.