Adding basic guard implementation into transitiona and state check
Merge pull request #15 from defrag/feature/guard

Adding basic guard implementation into transitiona and state check