created grammar module

moved "Grammar" related code (table creation, properties, etc)
to the grammar module,
the goal is to have no assoc code in the call site
cleaning up grammar module cont

now the shift reduce parser does not directly depend on library(assoc).