Added support for timed running. Modules are dynamically loaded