Removed old server code.
Removed old tests.
Added state change logging.