add  loadFromProperties(InputStream stream) method to config