Implemented generic resource storage

Refactor process begin!
Fix typos in resource store types
Created alleles for wrapping the resource stores