damn service is working with classes but client will specify the actual
instances, so I would need some rework with this code...fall back to
only specifying algorithm