Refactor create ResultCommand
Merge NestedCommand and Aggegration
Remove NestedCommand. Use Jackson annotations instead