Implement function pointer and callback
Update spec
Merge pull request #58 from infosia/function_pointer

Function pointer and callback