Removes otherwise depricated code
New REST API h/t @brianjgeiger
Small changes to tests and unadded code