Extended Sqlite logic
Began work on Sqlite tests