A good resource for some of these is
grocery coupon guide - for example, they have a guide to
food shelf life so you can determine how long the food you buy will last to help solve the spoil problem. It probably won't answer all your questions, but should be a good place to start to solve some of those issues.