Fixed getUnitsClasses and tests type exceptions
Fixed CMakeLists.txt
Modified monitoring functions with advanced descriptors
Modified function functions with advanced descriptors