Common classes used for Server communication