HistoryLoader for PostgresDB first version.