Use the new API configuration file

Also, allow setting some more values