Create proxy db class