Added main method and csv methods to allow csv files to be used as
arguments that contain necessary information