Navigation entries are now pulled from the database.

I also fixed a left over from my earlier commit and updated the database schema.