add items table and query methods

title says all ;)