added implementation details to README.md