Add stage forking, wildcard pulling.
Make hooks mutable shared memory through atom.

Refactor hook-repo mapping.