added randomly generated gold, added bases for the factions