added infrastructure for all database accessors