implement basic functionality for cube example
update README.md