started on more detailed documentation for database module