Renamed classes to Database and DatabaseException, fixed none existing sqlite3 database check.