Implements DBManager singletone.