Adding first functionality for algorithms

Signed-off-by: Werner Macho <werner.macho@gmail.com>