Updated executor
Now using ZookeekperState abstraction to store frameworkId and using it to re-register upon failure