add hooks and core module

This isn't needed anymore.  I'd prefer if it was removed.