database is now working, upload script too, db connection
a singleton and image resizer should be changed to make a thumbnail for a bigger area.

next is the addition of text and then on to displaying the stuff on the page.