Cleaning of SQLite class and creation of few DB class