creates db folder if it doesn't exist