Refactor code.
Add guide how to run sample.