Added more documentation for nearby places task

Just more documentation and changed a couple variable names for
readability