started to implement the config loading