Fixing directory class
Making system for modular hooks