added json and database file