feat: introduce 'hsp' framework

Closes #1