folder structure and began cache db development

Changed the folder structure to include "/images/searches/fb_url/x.jpg"
Began development of a cache database built in sqlite3