Genericize config parsing
Implemented automatic mapping of payments by tenants