moved Handlers to their own file, tornadohandler.py and added some simple inheritence to clean things up