added interface IClientModule and interface IServerModule.