Read json (loacl) to objects

Now json is read in and parsed.
use a json file as database.

keep track of which version is installed using a json db file
packages know about them being out of date
logic

packages know if they can be installed and the install button won't do
anything if the package can't be installed.