admin changes - controller and database

added most controller functions and model functions for storing all
questions and answers in the database