complete revamp of code to incorporate tornado library. Server uses tornado and now communicates with websockets instead of ajax. Caught up to taking turns functionality of previous code