removed duplicate code in DBManager
fixed failures around import calls in DopeHoodAPI