Database

Insertion for Courses and Lectures works. There is a bug with Tutorial insertion. I am having great difficulty with performing queries on the database and returning them as responses in Happstack.

We can talk more about this during the meeting.
No longer necessary, I have taken out `openJSON` and `closeJSON`.