reworked build and added database for stock/solditems