Add resetting the flashcard inmemory storage. Move the tasks to separate...

... module