Add algorithm object and resource for restful communication.