working on API calls, added config file