added simple server-api
Merge https://github.com/crised/real