Added in editing for posts. Fixed json file not existing when editing or reading, now defaults to default.json