Update op system

complete rewrite