updated Angular Material to master branch version; refactored main.html