Clamp documentation and tests
Implemented Exception class, with doc and tests + configuration fixes