Update aurora_db.py with added documentation.  Also modify exception  handling.