move db-connection to db.py
move db-connection to db.py
add back-links