move options creator to controller