Apply PEAR coding standards, add docblocks
Update variable names
Add ChangeLog entry for #3
Fix #3 Apply PEAR coding standards