Add code to get inventory list from db.

Crashes when callind dbhelper.getInventory()