Major change. Created a database table called fields to make the list of fields for a task more dynamic. Iterate over the list of fields from this table to reduce repetition in the code and to make it easier to add fields later. (fixes #59).