PoC communication between components

- split code into several files
- created sidebar component to choose fields to display