Updated documentation. Really need to format this and markdown-ify it.