Just have a look at the Example File and you will understand how it works :) Released under MIT License.