refactor LogicBricksBuilder