Common classes for PiVoice project