Made the CoreModule constructor work the same as the Module constructor