Adding non-copyable base class and singleton class.