added freemaker template.
added message resources