Made the module type name case insensitive by lower casing it on loading the type names