Added resource model
Added photos directory