Changes in folder structure

All 3rd party code moved under /lib directory.