relocate dbconnection class

relocate dbconnection class