public static DBConnectionFactory getInstance(){
        ResourceBundle rb = ResourceBundle.getBundle("database");
        Enumeration<String> settings = rb.getKeys();
        driverName = rb.getString("driverName");
        url=rb.getString("url");
        username=rb.getString("username");
        password=rb.getString("password");
        
        return new DBConnectionFactoryImpl();
    }