Fix installer, new database class