[MODIF] Partially implemented storing records in database.