Add BGMemberFromJSON.
Use dependency injection for dbname.

- Make testing with a test db possible, noduh.
NewTracker from API now saves members to DB.