Shiraj

Added code for pictures resource. Added views. Made small change to the models to allow additional functionality.