Added serialization code
Added laboration sample code