split of animator class into multiple classes