Merge "Refactor the frontend using material-desing UI."