Moved defines to top.
Added the url() helper.
Support for redirections.
It is not bootstrapped, per se.
No need to redirect.