Copy constructor added
and other few changes