implemented parsing of config from url