Manage source and resource directory as a whole
Simplifiy Module and Source scanning
First part of #851
Resources are still not removed