refactored api message parsing
added google map in html