Moved documentation to header and shined it up.