Re-added database clear
Merge pull request #36 from rawrin/master

Re-added database clear