Fix for issue #1

Moved the content of the constructor to a new private function and added a constructor with the IntPtr parameter to improve support for storyboards.

Fixes issue #1