Switched all config variables to a `cfg` dict, added starting update support