add onBootstrap function into Core\Module