removed unnecessary database connection for importing texture images