Structuring the config and bringing a mapper class