fix index.jade
fix newproject.jade
fix newproject.jade
fix caseview
fix history.jade and remove unused ts files
some refactoring