Adding last wrappers for mysql
Fixing pointer dereference
implementing first, basic test