Deleted unused Configuration
Updated queries for SQLite
Cleaning it a bit up