added a method to reinitialize the backend (databases and library folder)