accomplish the implementation of server basicly. To be completed...