Add typed hierarchy of exceptions
Add option to create a new table instead of opening one