Rails handles different tlds better now and subdomains so I was able to rip out a lot of code