added Brick class