Merge pull request #4 from milot/development

Added a ref counted shared pointer and operator*() to smart pointer
Added more appropriate message and removed the cout message from destructor.