created entity class Brick and BrickDAO skeleton