added db class to server