Refactor to Twisted plugin architecture
PEP8
Merge pull request #2 from calston/master

PEP8