Changed function visibility to public, added setProductTable() to allow DI for table name