Namespace Fixes

Removed duplicate classes and declarations,
Also implemented the start to the global chat server,
Fixed a bug on the register error response,
several chat server event handlers begun,
others