added functions to check if a sqlite 3 database exists, and a function that creates the database and automatically populates it with the structure specified in a file located in the local directory