created databaseManager.class.php - draft