Rename span -> duration
Start writing template for web interface