Inventory harvesting and database

Signed-off-by: themuntdregger <themuntdregger@gmail.com>