added database management tool and a test database