added flow diagram to README