atom ref not serializable. gen-class working, but can not have mutable instance state in serializable class