Modularised the main program. Added factions and goals.
Removed code for populating the world, as tha's carried out by seed.py now.
Added goals & a small test setup.