Move process state to exec pkg