add general server implementation
Merge pull request #54 from ErikFang/realtime

add simple GenServer
Merge pull request #29 from dianping/realtime

Realtime sync