updated query export:
Test with inner classes: use getDeclaredConstructors (without arg) to
instantiate?