Fixed config files
Merge pull request #21 from jonbird81/api

Fixed config files now makes api calls correctly