Refactor redcap module

- Fix inane issue that slowed down import ep2rc
- Lay groundwork for import to multiple sites