Hash model added; SimpleDb improvements