Bootstraps events based on the directory tree and found modules' exported methods.