Reworked examples as separate files

Also adding code snippets as uppy/downy sections on main page.