AMA-MOSAICI: An automatic module assigning hierarchical structure to control human motion based on movement decomposition