Generate getters and setters for Task class