imlemented dictionary
working on reading and writing tasks to json