added user function support
Merge pull request #22 from rapid-net/user-function-support

added user function support