Client and Server serielize code.
Need to be integrated to the android classess.