Amended Task class for persistence to DB. Added configurations for H" db.