added README.md and State Diagram/Flowchart