added database handles class