finished up exception handling.
Added in Disconnected server state to represent state before initialization.
added docs and removed and sorted usings.