added ability to save remote api and remote api dicts to environemnt