Start migrating to Twisted framework