typo on var name
use home var for dbpath construction
Merge pull request #2 from trodrigues/master

Some typo and var fixes