implemented hooks to execute custom scripts when installing modules

now you can "decorate" your module installation with infinite ways of configurations