added router resources, routes, model, gallery controller and app and gallery templates