checkboxes added to the tasks but code very ugly
doing some refactoring
adding guard to automatically build and also more refactorings