major rewrite of itempricer to support blocks with metadata

some unused import cleanup