created connection.py file.  some more sqlalchemy magic