rename Bricks to BricksUI and global variable