Merge pull request #4 from immersivelabs/mapping

Mapping
Merge pull request #5 from immersivelabs/mapping

add gateway to product manager, use array to pass in class names
fixes to manager and gateways for persistence