- move application logic out of invocation handlers
- add proxy for ResultSet