FIXED DATABASE, FIXED NEW DB MANAGER CLASS