updated code generation

- c listofXXX functions are correctly exported
- c++ listOfFunctions for add / create / remove implemented
- fixes