created unit state
Merge pull request #64 from Tadimsky/unit-state

created unit state