Move import method to the Database class
Move JSON import tests as well
Persist endpoint info