Basic web interface and db handling