Minor chodechanges inside class.database to get a more flexible handling with more than one mysql-connections