Drupal 10 and PHP 8.1 compatibility
Refactored code to use dependency injection, created walkscore as a service.
Drupal 9 compatible
Drupal 8 version