Function definition modification

Function definition is variablize. Now it can be set in config.txt
(default is C++)