Optimization.

Re-vamped the country class and started fixing all the derpy code in
engine. Made a bunch of crap run more efficiently.