Changed Reference interface and ReferenceObject to just a Reference class

Change-Id: Ib76fde1597c82880af651332ed04bcdb6597612b
Merge "Changed Reference interface and ReferenceObject to just a Reference class"