Final Optimize Version

Optimize build and minify main config