Clean the code. Add custom_modules folder. Reorder scheduler initialization and execution.