Lab sqlite

Implemented the sqlite