updated formats to markdown and added ToC