Added a docs folder with extensive comments, docco style!