Refactored the Identity class home method to a class method.
Refactored instance variables out of the Identity class.