adding contructors and assignment operator for better usability; removing deprecated...