Added Initialize/Deinitialize methods implementation
Added HResultException Class
Tests updated