Adding provisions for inserting new inventory
Made md5 methods more modular