Cleaning and update from cm 11 branch

-Files added to common
-Cleaned useless files and flags