Made Changes based on the 'Database Scribbles' doc

I added a few things based on Ryan's 'Database Scribbles' google doc. I
mainly added a few parameters that I was missing. I also added a Pins
table between the Nodes and Data layer because I didn't realize that
each Node can have multiple pins.