Add api_server and peer classes
Merge branch 'master' of https://github.com/ddsn/ddsn.git