finished (for some values of finished) bootstrap.pl script, improved database schema