Change PackedAvroSource to a case class. fixes #004