Pull SQL logic into a separate file.

Running the Vagrantfile more than once will cause an error message since the database would already be created. This doesn't cause any problems though.