Various updates

- how to run sql queries,

- UserHelper is now PmHelper

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

Various updates