working on an edit interface for documents. Switched storage from a file store to sqlite to get around storage restrictions.
Implementing much of the form for document control.
Moving the header and footer into their own directives to facilitate changes.