redefining configs and endpoints/model + spec fixes