Added Generic Types to json map
refactored names of local variables
one more refactoring of local name
refactoring of name and suppress warning
added websockets but does not work yet, moved toJson to Grid
added a GridObserver