Added Contact class, getSender function