parse and load the config file
config version is int, mapping is done by app