Continued development.

Added functionality to insert footnotes into mongodb.