Added pins db and cleaned it up