Changed the modules objects in order to make the heritate from the module abstract class.