Adding basic function support
Merge pull request #1 from wpreul/feature/functions

Adding basic function support