Added database functionality for eCommerce data