Fixed vendor folder as resources path
Added service ancestor field value gathering algorithm