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

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

Realtime sync