Adding basic structure needed for gn 2.11/3

Still, it doesn't work.
Editor now showing fields. The templates need improvements.