Added javadoc.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #109

Template processed by thymeleaf must have the following extension: .thl.html

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>