Huge overhaul to the system to use accounts.
Merge pull request #92 from Vgr255/various-adds

Huge overhaul to the system to use accounts.