Added WIP Militia code to integrate into current working codes