New transaction structure

Huge refactoring of transactions. Will make things much easier in the long run.

Also added MccCode and Transaction models! (YAAAAAS)