Have you read my page on mealworms? It's at
http://www.fishpondinfo.com/worm.htmI suggest a lid just in case they find a way to climb out or the tank gets knocked over and certainly if you have cats or dogs in the house.
The beetles have wings but they cannot fly.
They eat all sorts of grains, fruits, and vegetables. Mine never seem to eat much though.
My page has tips on breeding. I just put a shallow layer of baby oatmeal in the bottom of their 2 gallon plastic tank. Once a week, I put the beetles and oatmeal in a plastic collander. I shake it, put the beetles back with new food, and put the used oatmeal in another cage I keep. There are eggs and newborns in the oatmeal. Other grains may work better. They also like to lay eggs in cork bark.