added server module (see /lib/server)

removed all* client code from server module (*i thik it's all)