refactoring of the connexion to the tables and creation of beans