Flicker Images Viewer in Custom built MVC Framework with basic PHP