Initial support for function calls
Fix function calls in runtime