fixed problem with stylesheets and wrong host name
implemented upgrade scripts to allow migrating to new database schema