loading database

database is already loaded and stored (by the moment) in a JSONObject