remove redundant controller and index files