Few very basic updates

updated the Db Class, and few others. very basic.