Work on sqlite class