Move DB connection manager into db dir

I also renamed it since it seems to represent an actual connection.