gradle 0.8->0.9
remove unnecessary context
remove unnecessary methods
photo temp directory setter