Issue14

Mysql related functions are wrapped by some function from Utilities.php. Some refactoring was done, but not all. Fixes #14.