added getSchema, get, and put methods, doing the part of avro scala compiler plugin MethodGen