Updated invokable to include enclosing type and started refactoring SyncProxy
dependent changes on tests and internal classes