Added Comments to each class.
Fixed bugs.