Class for loading modules and for hooks (incomplete)