Added database-querying functions for items
Made database querying function names more concise