Move ProcessInstance into ProcessModule

IN-391