Added JSDoc style comments
Added first version of auto-generated docs