add gateway to product manager, use array to pass in class names
fixes to persist for orm
Merge pull request #5 from immersivelabs/mapping

add gateway to product manager, use array to pass in class names