Add pinning functionality + scaffold