Added comments, renamed class, and neatened up code.