Common classes for the client and the server of ticketsell system