Added comments and some cleanup
More comments
View comments