Adding HTF.

Closes #94

Signed-off-by: Magnus Therning <magnus@therning.org>