Added Class Discrimination code to the server.
Merge branch 'master' of https://github.com/IVPR/Weave.git