Create ThreadAffinity.java