Add code snippets and unify existing snippets
Add installation instructions and documentation to readme