use metarelate api
Merge pull request #24 from marqh/metarelate

use metarelate api