added military kw framework. tests pass. started copy