fix build process so that it would move the html files to dist folder.
also, remove unused code
1. optimize build process and dev tasks
2. add "projects" folder replacement and fix all urls