Modifications to artists.py to allow it to be used as via flask.app