adds name and birthdate endpoints to api, breaks out sort methods into service