Remove freemarker and pegdown.
Fix template loading.