Database connection added to main method
Database connection created and working