Feature/tasx 5 task domain class

I chose to initialize these fields with a constructor that calls Interval.setInterval(from, to) to avoid duplicating the assignment expressions.