updated README with code synopsis