LIBCLOUD-510: Fix coding style and add minimal documentation.

Signed-off-by: Marian Neagul <marian@info.uvt.ro>