Added a missing Exception classes code. Added Makefile and samples and tests.