Codensity, state performance improvements, split specs
Split state from codensity wrap
V2.0.0, fixes #22, fixes #19