entityquery module showing use of EntityFieldQuery class provided by Drupal.