feat: implement pre-hook (untested)
feat: post hook
feat: implement the hooks system
Add some hooks as concept
fix: return stdout of post-hook to client