Complete all APIs for ECS
Fixed API result data structure for matching samples in API doc
General fix
Solve conflicts
Merge pull request #4 from pastgift/dev