CMS finished. Now time to optimize and fix the possible bugs.