refs added flickraw support, added picture model, some refactoring