Add resmap collection

Closes #2