Split hastie into own package/cmd and add http handler.