Beef up the Algorithm resource a little

to handle different requests depending on the route