Make buzzer volume configurable from server.
Some refactoring.