Cleaning and update from cm 11 repo

-Files moved to common
-Cleaned useless files and flags