Datastore functionality

Merging up datastore functionality. Would like to add priorities to each task next