fixed the server example, mostly. added in the directory client example as a module rather than embedded in the project. added in some rudimentary json schemas for badge class