Database overhaul change over from txt to SQLite3