Completes TaskItem class(to be used and tested during further development)