minor cleanup
renaming fragments to contents
adding switch file extension method
upgrading freemarker
removing singleton
removing markdownprocessor
updating md and html handlers