tidy up
add support for late bound class names
closes #1