Cleaned up buzzer class, added configurable frequency