remove stock name form stock list when the quantity goes below 1
Remove boilerplate method and object
added action methods with error checking for logging