Use GeNNCodeObject and special templates for stateupdater etc., use a simpler GeNNCodeGenerator instead of CPPCodeGenerator to generate simple code without declarations, etc.