Added Software State Diagram