Load patient data from database
Minor refactor
Allow records to be persisted

Not quite complete: cannot delete records or subrecords.

Addresses #20