Added an item class. Also corrected an issue with room.