Added function as datasource. Improved Demos and Readme.