add header comments for assignment 2
add method comments for assignment 2
yuidocs for the frontend