Updated the documentation. There is still a few flaws.