set up postgres db, transactions migration, and model

![](http://media.giphy.com/media/DMqroc4KH28x2/giphy.gif)