add load ws config method to public