Major DB restructuring
Identify all the models through an id attribute
Fix a bug where the flash was emptied at every new request
image_path Smarty helper