chore(refactor): move models to core plugins