public static DataProvider create(ProviderType type) {
        if (type == ProviderType.XML) return new XmlProvider();
        if (type == ProviderType.DB) return new DbProvider();

        return null;
    }