db structure, initial web interface and scripts