Database class done (for now) - functions returning Cursors to Projects, Milestones and Tasks added, as well as functions returning Project, Milestone, Task instances having taked id as a single parameter.