Pull out Common, and other changes

Pulled out the Common library to its own depot
Lots of other little changes