Custom provider for localhost and custom database provider forwarding calls to database reader based on called method