[Twisted-Python] questions about deferreds and code structure