Update opentoken; first draft parseToken method