updating moduleLoader to remove groups property