Migrated the core parts of the DSL

grammar, IQPL references, etc