Added initial introduction to README

Also did minor code cleanup.