Made getter and setter methods for contact class