Removed a lot of SQLite code and old structures; Started to update some code