split ecs.go to separated files; general fix
update `stringToSign`
More OO design for ECS