implemented singleton to load json db