Rewritten HTML pages to use the templating system
Moved magic getter to base renderer
Added JSON template system
Implemented JSON renderer