Minor code clean-ups. Requirements file added.