Added getItem method. Code still needs overall cleanup