Put config loading into DataHandler class