Added Factions support. Adds #4