Converted data storage to sqlite3. Still need to fix delete_record() function so it clears file, rather than deletes it