cascading deletes

 - moved resource state into /state ns