Started settings view database integration

Settings view now shows the categories from the database. Put in hooks
for add category and edit category.