Switch to Twisted logging and move startup