Use the new API configuration file

Also, allow setting some more values
Merge pull request #1 from craigbr/master

Use the new API configuration file