Move server related code in ok.py to network/ package

Resolves #222 .