Updated documentation using docco
updated index to get new annotated source code