Cleaned up the code a bit and got rid of the tornado wsgi wrapper in favor of twisted web. Added start and stop scripts