DBManager constructor changed, object opens and closes in new methods called 'open' and 'close'

DBManager constructor changed, object opens and closes in new methods
called 'open' and 'close'