added spork
state validation & path autocreation