Added comments to the class constructor