Refactor nodejs server to parse Markdown and Textile formated pages.