Improved docblock comments and added doc.sh script to generate documentation using apigen