Added constructor to the Module class