Code Comments

code comments and final touches