Various updates

- how to run sql queries,

- UserHelper is now PmHelper

- and more...
Merge pull request #268 from FWAJL/dev

Various updates