Improve method comments
Add script for generting API documentation