Created optimize mode system
Optimizer now loads from external file