added config file and uri initializations