Fix Getting Started code example in README
Add more appropriate and consistent component intilisation in example index