fixed major side collision issue
added BaseBrick class