Moved IO to AsyncTasks