Move the static faction stuff to its own FactionsDatabase class.