added settings variable and more documentatio #ep14boat