model working -- using JSON files as db