first version on JavaCC grammar
basic query parser classes (just a scaffolding)