adding mapping based on YAML details
changes to map hash or array of specified attributes
Merge pull request #6 from agmcleod/feature/map-db-fields-to-hash

adding mapping based on YAML details