added JSON data structure and made simple view