no more code in __init__.py
move PHASE_* events to rw.server