Comments

Commented and cleaned up code