Moved some code around

Moved cost of tech upgrade to nations instead of in game