Add RIPE database interface for better schema retrieval
Extend RIPE schema functions to normalize the schema