Loading key mapping from configuration