Adding Optimizer Task
Completed optimizer
Moved config to app/config