Add json file storage, some documentation.