Advanced software for herd management