added flowchart. edited readme