Understanding the dynamics of biological networks through minimal switches and timekeepers