Updated format of documentation to fit github markdown and did some general cleanup.