Move source.py -> database.py. Update plotting.