created classes for box, row and column