Added disconnect and getConnection to DatabaseManager