Port util classes from designer

- ported a couple utility classes from Designer
I know that you are simply renaming an exception here but should we really be throwing a RuntimeException at all. Has the potential to kill the application. Would it be better to just throw the IOException and get client code to handle that in their own way?