Added the old database connection to the project. Make the database
connection new and refactor it. For now i only add it for the structure
and is not used at the moment.