Check the result before create class. Added config option for cql library