added standalone program and updated README.md