Rename modules dir to resource.