format changes
added db class