Fixing datamapper config and schema path handling issues/Config generation logic modified