second stage of code generator: loadable output

The generated code is now loadable into Ruby.
Still not runnable yet. A basic antlr4 runtime is
included but it is only the class name declarations.