Rafactor view, delete unnecessary file