Adds get_title() method to studies and cleans up connection.py.