Main interface mostly set up. JSON parsing begins.