Create Database.php

This class is used to connect to the database.

!! this class is old and needs to be updated !!