WaitForLeader, WaitForTrue functions
Interface for Storage
Message and FSM apply