creating vendor independent directory in code