added base module and class for detection