test1 start

Tried to rewrite DB managing, ran into strange bugs so this go into
another branch.