split server/routing logic and sensor stuff into separate modules
move log writing and reading logic to sensor module
transmit sensor list via socket not ajax
initialize live view with most recent values
add status indicator