Proposed object-oriented architecture of a flexible small-scale system for digital pulse shape acquisition