Integrating object oriented programming paradigm concepts in designing a vision and pattern recognition system architecture