fix indentation, whitespace and other minor code legibility issues
replace global $cloudXMLpath with constant, and remove pointless parameter passing
close XML file
fix barclamp name and description