Works to an acceptable level

Will continue work on this tomorrow but for tonight its good enough,
most everything works, just need to connect photos to the database and
will basically be done.