math.ceil returns a float and it must be casted for the loop to work
Adding functionality of creating the db directory on startup, crashes if
directory does not exist
Merge pull request #1 from jvtrigueros/master

Issues with float and directory not exsting