Added a faction library with a two faction implementation.