Routing stuff.
Added JSON.
Fixing complex page.