Refactoring the main service to use a Three Staged Event system much like the one already included in the twisted Core