Exported the task function
Actually create and store/load a task now