Vote class implementation in problem domain