some features implemented.

need to finish server/client messages implementation and add some new
ones