Improvements

- Use HTML template 
- Extract configuration 
- Extract handlers
- Extract sensor data 
- Improve logging
- Remove unused files
- Extract util functions
- Refactor server file
- Bind image selection to Data type