minor formatting
added main function to world.py, added all functions (except government related ones) to community_class.py