split cop and cox modules to new package