Added documentation using Docco