some cleanups to the solar example

Some tweaks to the solar sample:

- update the pubspec dependencies
- adjust some interesting code formatting decisions
- move much of the application code into `lib/` (from `web/`)
- improve the layout on the page
- made some library variables private

@scheglov