removed empty test
fixed creation of internal mappings.
passed mapping information from config to mapper.