refactor: 重构OPFController