make Database an interface, priliminary web server (untested)