added docstrings to reviews.py, also did some refactoring