Added minor updates

I added a way of storing the API key in the configuration file, and a
lot more. You can now get arrays directly from a section, using the
getArray(name) function.