Use properties for database connection, change load context