defined the base classes for every module.