implement a bit of NLG and Main

Some initial superficial implementation of the NLG phase.
Just some get methods from Main.