Descriptions and format

Update of slave description and tidying up the code in to sections