Removed the faction DAO and added a model query service.