Update of the UI

Update of the UI to use a freeform UI and turn the app into a single-page. TODO: get the current status of the switch on load