Moved README to markdown and added some documentation.