Move DB classes to DB package

Move DB classes to DB package