markdown working with marked lib, more interface work