Removed unused import.
Should not be localhost in prod.
Changed order of parameters in equal checking.
Renamed some files to reflect functionality.