TEZ-582. Refactor and abstract out VertexManager to enable users to plugin their own logic (bikas)