Created sql from csv files, made db_sess work and distance/display work.