script for starting twisted api server