move contet db class to internal folder