json parsing and basic UI.