initial images model and defined insert function
removed TODO in pages model
defined view function for images model
defined view_where function for images model