init sql scripts, test fixes, home page