Added Application#db_connect() function