Fix a grunt development server to adapt the new JSON format.
Bug fix error occurs when an entity is copied and deleted and pasted.
Refactoring
1. Extract a module 'SpanRenderer'.
2. Extract a module 'EntityRenderer'.
3. viewModel.