Provides the Contact class, which is used by both client and server code.