[#7] Use database for stories index and show (both implementation and tests)