Made all methods public in Task.java