Wrote the basic documentation.