Move the $app config stuff to a bootstrap folder
Add a half-done rewrite of the AdnClient