Removed PROJ_ERR check from handle_request() - added docstrings to functions