split to src and vendor directories