Review and port views implementation

Issue on drupal.org : https://www.drupal.org/node/2289303