working with the new structure, and sort algo is working also
we can now manage multiple database