Start db functionization
Another db function to reduce verbositalizationalizationalisty
Fix error printing