Set up program to work now, mysql server has been set up and running and
is accepting connections. Able to save photo object to DB