Changed the Changes object from a serivice into an instantiable object and implemented better serialization.