transformed to http handler package and added optionnal menu for markdown posts