Removed unused thymeleaf dependence.
Added some comments.