Removed unused files and refined some html files on patterns.