Remove BrickManager
fix cmversion