photo upload implemented, also interface changed