Remove unused files and added API remember outputFormat