Added CNonCopyable class to prevent object copy