change db stuff to non-async. Add sample detail pages.