added funcationality to add state to an object via the appInvoker, also made interface/contract methods compatibale with their concretions, tests added as well