db
Implemented M5

Implemented M5 which meant adding two more classes (Register and
ConfirmRegistration) and two more activities (activity_register and
activity_confirm_registration). In addition to hooking all that up, I
added comments to a few methods that didn’t already have comments
Merge pull request #3 from xinyichen/withDB

With db