Added new AItem class that is inherited by Item* classes ; also added method in AObject to get the object's type