Redid Config

After seeing some serious flaws in my previous, I rewrote it to have
separate clientside and serverside scripts. Since my previous wasn't
very well thought out and was fubar.