Adding comments, README, and some clean-up.