Use serializable to communicate with service. Cleanup