Moved to maven. Refactor Avro support.