Creating item class.