loading modules from resources