Made application classes serializable so item class can be fully serialized