Refactored config (update+db) into own classes/objects.
Changed logic of converting ResultSet into DBEntry (now eats all rows).