implement change-directory command
grab package-db from environment