Add general doccomments

Nothing fancy, just adds documentation to some parts of cargo that may be confusing.