implemented basic local db creation for payments
Merge pull request #16 from alancohen/controllers

implemented basic local db creation for payments