[CLEAN] remove Avro generated class (was duplicate with remote-query-server)
[FIX] move Avro generated class and fix pom.xml
{FIX] minor corrections
[FIX] a few corrections
[ADD] unit tests