Updated to use a config file and renamed files and deleted old stuff