split resources into modules