Working version of redesigned layout

Redesigned UI and simplified char array and use of JS JSON.parse()