refactoring of compilers - now in separate package with relatively clean generator class