Added license
Added hooks, dependencies, and removed unnecessary `beliefstate` dependency