Updated implementation. Added pictures for policy execution and policy represented as a JSON