Commenting code and expanding readme.