edited README to explain internal workings