Now also uses the cached packageversion
fixes #55 and cache installed packages