this is a fork from https://drupal.org/node/1865568, since the project in drupal.org still not supporting v2 for a year. We here to continuous maintain on github