Adding more events for hooks, removed greet module, and added hook unloading when module unloads.