Baleet class
Added hooks support; added "printHook" for example; removed IRC hook for redoing