public static boolean load() {
        if (Config.isUsingMySQL()) {
            if (!loadMySQL()) loadSQLite();
        } else
            loadSQLite();
        database.loadAllObjects();
        Logging.info("Loaded objects.");
        database.loadAllOwnership();
        Logging.info("Loaded ownership.");
        database.loadAllPermissions();
        Logging.info("Loaded permissions.");
        database.loadAllGroups();
        Logging.info("Loaded groups.");
        
        database.setLoaded();
        return true;
    }