For information on manure management, you might want to consult your state extension office. Be aware too, that different states have different regulations regarding manure management. NH is pretty lax (lots of "shoulds & coulds") whereas MD - with its concern about the Chesapeake watershed - has become much stricter on everyone, not just large farmers.
I've been composting manure - horse and now chickie - for years in a system of large (12x12x5) bins. They will need to be rebuilt soon and when that happens, we're planning on pouring concrete "floors." That will allow me to 1) use the tractor to "turn" the pile occasionally (which speeds decomposition) and 2) will help prevent all the lovely (and toxic to fishies) nutrients from leaching into the ground and nearby streams. Since I have three of these bins, and it takes anywhere from 4 to 6 months to fill one. This gives each pile ample time to decompose. It then gets spread on flower beds, in the vegetable garden, around shrubs, on the pastures, on the lawn .. with the occasional application of lime, I'm all set!
Regarding earthworms: check gardening catalogs. Many of them carry a nice selection of worms. (Ye Haw)
Happy Composting!!!
Susan