Initial commit of code
Documentation update & don't initialise more than once