Improve code in MDB, MC, MCur and MDoc classes.
Redevelop "exceptions" functionality
Fix bugs in utils.
make changes in tests.