Improve structure of "lib" directory and rename to "vendor"