Fixed init db script
Refractored and commented
Merge branch 'master' of https://github.com/arieljannai/joeInstaller