added the install file

The install file creates the database and all tables IF, they have not
already been created. It also outputs any errors if there are any