Attiny code in Arduino- Sleep modes?

Is there a library of Attiny sleep modes for Arduino?

Also, I have a servo function on a Attiny45. I have the code call for a calibration of the servo during the initial code (void setup in particular, and have also tried the code in the main loop). This code should move the servo. However, the tiny ignores this code until it senses a button push on one of the pins, either the forced calibration or trigger action pin. The code used is the same code that is also called during calibration, so it seems that the tiny is coming up in a sleep/idle mode.

Any recommendations?

Thanks, Bill