C daemon with sqlite3 and updated web interface