Refactor insight3d parser