Refactored library's sound generator base classes