Added expiry removal for pins
Bugfixes
Added cleanup code for dead pins
updated queries
initial image support
Finished image linking
fixed conflicts