Added facts controller migrated to pg