Started work on converstion to sqlite3