Remove AlgorithmService, only using AlgorithmRestService from now on. Wrote test.