feat(core.functions) Add compose fn and refactor components.
chore(components) using mixins in assets, label, legend