Added dependency
Updated gitignore
Now showing dependencies for shared objects too
Added support for package database
Improved script