updated readme, added diagram