preliminary support for local Zero database added

sadly, you can't use Zero yet. It's my diploma thesis =)