Make this compile towards new function call design
Function definition and calling refactored.
Towards currying. runtime fails now.
Fixed all issues with the function call concept including currying.