global definition of database connection in App.pm