Implementet clsDsmAdmc and some more.

Implemented clsDsmAdmc with som error handling to give users a hint if
something goes wrong.