moved credentials into serverModel.json and apis are now just a dict of methods