Grabbing discussions from the database.

Added the code to start pulling the discussions from the database.