adding pin control
migrate pins into db
pin messaging
Merge pull request #21 from TimEvWw/master

Pin Write