Created box class.