add freemarker configuration for spring mvc