Add DBAdaptor
And new package for Viewer