REWRITE (fixes #2 and fixes #3)

runtime-loading of API configs
private functions are static
private functions is not invading on reserved identifiers
probably lots of other cool stuff
add code example