added constants for dbnam,dbprefix,username,password. Also fixed bug for total rows inserted in products table.