Initial commit of optimization source. Migrating from projectlocker repo and opensourcing.