updated documentation and changed readme to markdown formatting