add a more helpful message about unsupported class

TODO make this configurable
fix relpath issues by always making paths absolute, add a small test suite