Updating documentation

Added documentation for __construct and compression functions.