fixes #9

included query to nav table - included loop within header file to use
items

added weight to database to allow ordering