Rename algorithm to component everywhere in code.
Move all templastes from dynamic to damis directory.