remove CodeOptimization

The CodeOptimization does nothing. I removed the dead code from all projects
parts.