autoload static class function instead of loadFunction
cleanup
context variables on 404
more autoloading
fix loadFunction