added markdown support, interface improvements