Added Drupal 9 compatibility.
Fixed coding standards and replaced deprecated drupal_set_message.
Initial release