Convert Thymelead templates to FreeMarker templates. Remove the use of WebJars. Refactor all Sample application code.